package com.twoGroup.boot.pojo;

public class CartAndShopAndUserAndGoods {
    private Integer shopId;
    private String shopName;
    private Integer goodsId;
    private String goodsImg;
    private String goodsName;
    private float goodsPrice;
    private Integer goodsCount;

    public CartAndShopAndUserAndGoods() {
    }

    public CartAndShopAndUserAndGoods(Integer shopId, String shopName, Integer goodsId, String goodsImg, String goodsName, float goodsPrice, Integer goodsCount) {
        this.shopId = shopId;
        this.shopName = shopName;
        this.goodsId = goodsId;
        this.goodsImg = goodsImg;
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsCount = goodsCount;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public float getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(float goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    @Override
    public String toString() {
        return "用户购物车：{" +
                "shopId=" + shopId +
                ", shopName='" + shopName + '\'' +
                ", goodsId=" + goodsId +
                ", goodsImg='" + goodsImg + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsCount=" + goodsCount +
                '}';
    }
}
